<?php

namespace app\api\controller;

use app\common\controller\Api;

/**
 * 首页接口
 */
class Index extends Api
{


    protected $noNeedLogin = ['*'];
    protected $noNeedRight = ['*'];

    public function _initialize()
    {
        parent::_initialize();
        //移除HTML标签
        $this->number = makeNumber();
        $this->beforeLog($this->number);
    }

    /**
     * 首页
     *
     */
    public function index()
    {
        $param = $this->request->param();
//        $number = makeNumber();
        $this->error('请求失败','333','',$this->number);
    }

}
